package com.dr.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dr.entity.Comment;

public interface CommentService {
	/**
	 * 查询所有
	 * @return
	 */
	public List<Comment> AllComment(Comment c);
	/**
	 * 查询行数
	 * @param m
	 * @return
	 */
	public Integer getCount(Comment c);
	/**
	 * 回复
	 * @param id
	 * @param reply
	 * @return
	 */
	public Integer updateComment(int id,String reply);
	/**
	 * 删除
	 */
	public Integer deleteComment(@Param("id") int id);
}
